//package com.yuwei.live.adapter
//
//import android.view.View
//import android.view.ViewGroup
//import android.widget.BaseExpandableListAdapter
//import com.yuwei.live.entity.CommentEntity
//
//class VideoCommentListAdapter constructor(
//    private val list: CommentEntity
//): BaseExpandableListAdapter() {
//    override fun getGroupCount(): Int {
//        TODO("Not yet implemented")
//    }
//
//    override fun getChildrenCount(groupPosition: Int): Int = list[groupPosition].replyList.size
//
//    override fun getGroup(groupPosition: Int): Any = list[groupPosition]
//
//    override fun getChild(groupPosition: Int, childPosition: Int): Any = list[groupPosition].replyList[childPosition]
//    override fun getGroupId(groupPosition: Int): Long = list[groupPosition].id.toLong()
//
//    override fun getChildId(groupPosition: Int, childPosition: Int): Long = list[groupPosition].replyList[childPosition].id.toLong()
//
//    override fun hasStableIds(): Boolean = true
//    //一级评论UI
//    override fun getGroupView(
//        groupPosition: Int,
//        isExpanded: Boolean,
//        convertView: View?,
//        parent: ViewGroup?
//    ): View {
//
//    }
//    //二级评论UI
//    override fun getChildView(
//        groupPosition: Int,
//        childPosition: Int,
//        isLastChild: Boolean,
//        convertView: View?,
//        parent: ViewGroup?
//    ): View {
//
//    }
//
//    override fun isChildSelectable(groupPosition: Int, childPosition: Int): Boolean {
//
//        return true
//    }
//}